package com.szqhyxj.youxiangju.biz.merchantHome.shop.site;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;
import com.szqhyxj.youxiangju.biz.merchantHome.bean.DefaultSite;

import java.util.List;

interface MySiteContract{

    interface View extends PromptView{

        void showSiteList(List<DefaultSite> sites);
        void showNoSite();
        void showRefresh();
        void navAddSite();
        void navEditDddress(DefaultSite defaultSite);
        void navSetTakeSite(String siteId);
    }

    interface Presenter extends BasePresenter {
        void init();
        void deleteDddress(String addressId);
        void editDddress(DefaultSite defaultSite);
        void setDefaults(String addressId);
    }

}